<template>
  <div class="siri-container">
    <div class="siri-core">
      <div class="glow-ring"></div>
      <div class="glow-ring ring-2"></div>
      <div class="inner-glow"></div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SiriGlowAnimation',
}
</script>

<style scoped>
.siri-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  background: #000;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.siri-core {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 255, 200, 0.8),
    rgba(0, 150, 255, 0.8),
    rgba(200, 0, 255, 0.8),
    rgba(0, 255, 200, 0.8)
  );
  filter: blur(15px);
  animation: rotate 3s linear infinite, pulse 2s ease-in-out infinite;
  opacity: 0.7;
}

.ring-2 {
  width: 120%;
  height: 120%;
  opacity: 0.5;
  animation-delay: 0.5s;
}

.inner-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(0, 255, 200, 0.4) 50%,
    transparent 70%
  );
  border-radius: 50%;
  animation: inner-pulse 2s ease-in-out infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

@keyframes inner-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}
</style>